package com.gxa.order.service;


import com.gxa.common.commons.JsonResult;
import com.gxa.common.commons.R;
import com.gxa.order.pojo.Hotel;
import org.springframework.web.multipart.MultipartFile;

import java.util.HashMap;
import java.util.Map;

public interface HotelService {
    JsonResult findAllHotelByCondition(HashMap map);

    R findHotelById(Integer hotel_id);

    R addHotel(Hotel hotel);

    R updateHotelById(Hotel hotel);

    R delHotelById(Integer hotel_id);

    R addImg(MultipartFile file);


    R agreeExamine(Integer id);

    R notAgreeExamine(Integer id);

    R exchangeRoom(HashMap map);

    R addRoomNumber(Integer hotel_id, Integer room_number);
}
